package lab02;

public class Golem implements Boss {

    String name="Golem";  //Gole
    int HP=150;
    int ATK=15;
    int i;

      public Golem(){
          this.name=name;
          this.HP= HP;
          this.ATK=ATK;
          this.i=i;
      }


    @Override
    public void Attack() {
        System.out.println(name+"凶残无比，媲美哥斯拉\t");
        System.out.println("拥有"+HP+"血量\t");
        System.out.println("正在使用升龙拳\t");
    }

    @Override
    public void Move() {
        System.out.println(name+"正在遭受攻击，进行蛇皮走位之曲线移动绕到勇士的身后偷袭");

    }

    @Override
    public void Recover() {
             i = HP - ATK;

          while(i<10){
              i+=20;
          }
        System.out.println("受伤严重，发动恢复技能恢复到 "+i+"血量");
        }




        }



